package com.homework.ch0123;

public class Test7 {
    public static void main(String[] args) {
        System.out.println("------------------商场库存清单------------------");
        System.out.println("品牌型号"+"         "+"尺寸"+"     "+"价格"+"         "+"库存数");
        System.out.println("MacBookAir"+"     "+"13.3"+"     "+"5699.0"+"       "+"5");
        System.out.println("ThinkpadT490"+"   "+"14.0"+"     "+"8499.0"+"       "+"10");
        System.out.println("MateBook 14"+"    "+"14.0"+"     "+"7199.0"+"       "+"18");
        System.out.println("---------------------------------------------");
        System.out.printf("总库存数：%d\n",33);
        System.out.printf("商品库存总金额：%.1f\n",243067.0);
    }
}
